package me.stone.stanimeclient.core.ui.extensions

import android.view.View
import me.stone.stanimeclient.core.ui.R

fun View.setPositionTag(position: Int) {
    setTag(R.id.tag_key_position, position)
}

fun View.getPositionTag(): Int {
    return getTag(R.id.tag_key_position) as? Int ?: -1
}